
/*
 * GET home page.
 */

module.exports = function(app){
    app.get('/', function(req, res){
					res.render('index', { title: '66XiaoQu...' });
				}
	   );
	app.get('/getBackOfficeConfigForClient', function(req, res){
			res.json(
				{
					backOfficeHost: backOfficeHost,
					fastDfsHostIp: fastDfsHostIp,
                              AppHost: AppHost,
				      imgHost: imgHost
				}
			)
		}
	);

}